<div class="content">
	<form method="post" action="<?=n_url('open','save')?>">
	<dl class="n-form" style="line-height: 26px;">
		<dt>插件:</dt>
		<dd>
			<?php
			if(empty($data['info']['id'])){
			?>
			<select name="pbox_id">
				<option value="0">请选择</option>
				<?php
				if(!empty($data['pbox'])){
				foreach($data['pbox'] as $key=>$val){
					if(isset($data['exists'][$val['id']])){
						continue;
					}
				?>
				<option value="<?=$val['id']?>"><?=$val['pname']?></option>
				<?php
				}
				}
				?>
			</select>
			<?php
			}else{
			?>
			<?=$data['pbox'][$data['info']['pbox_id']]['pname']?>			
			<?php
			}
			?>
		</dd>
		<dt>优先序:</dt>
		<dd>
			<input type="text" name="seq" value="<?=empty($data['info']['seq'])?1:$data['info']['seq']?>" />
		</dd>

		<dt>&nbsp;</dt>
		<dd>
			<?php
			if(!empty($data['info']['id'])){
			?>
			<input type="hidden" name="id" value="<?=$data['info']['id']?>" />
			<?php
			}
			?>
			<input type="submit" />
		</dd>
	</dl>
	</form>
</div>	
